package com.tarena.lbs.business.dao.repository;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.github.pagehelper.PageInfo;
import com.tarena.lbs.business.pojo.po.StorePO;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StoreRepository {

    int save(StorePO param);

    PageInfo<StorePO> pagesList(StoreQuery query);

    List<StorePO> list(QueryWrapper<StorePO> queryWrapper);
}
